package com.oig.sys.auth.service;

import com.oig.sys.auth.dto.PermissionDto;
import com.oig.sys.auth.dto.ResourceDto;
import com.oig.sys.auth.vo.PermissionVo;

import java.util.List;

public interface ITbResourcePermissionService {

    List<PermissionVo> findPermissionId(Integer resourceId);

    void delByResourceId(Integer resourceId);

    List<Integer> findPermissionId(List<ResourceDto> resourceDtoList);

    List<PermissionVo> addResourcePermission(Integer resourceId, Integer systemId, List<PermissionDto> permissionDtoList);

    List<PermissionVo> updateResourcePermission(Integer resourceId, Integer systemId, List<PermissionDto> permissionDtoList);
}
